gaussian_filter Function

public pure function gaussian_filter(x, alpha, k) result(rst)

Applies a Gaussian filter to a signal.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: x(:)

An N-element array containing the signal to filter.

real(kind=real64), intent(in) :: alpha

A parameter that specifies the number of standard deviations desired in the kernel. This parameter is related to the standard deviation by .

integer(kind=int32), intent(in) :: k

The kernel size. This value must be a positive, non-zero integer value less than N.

Return Value real(kind=real64), allocatable, (:)

An N-element array containing the filtered signal.